package com.zy.ipanalysis.service;

import com.zy.ipanalysis.dao.InfDao;
import com.zy.ipanalysis.model.Inf;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by ZYDR on 2015/12/26.
 */
@Service
public class InfService {
    @Autowired
    InfDao infDao;
    public void updateIp(int ipNumber){
        infDao.updateIp(ipNumber);
    }
    public void updateIspDate(){
        infDao.updateIspDate();
    }
    public void updateCensusData(String content){
        infDao.updateCensusData(content);
    }
    public Inf queryForInf(){
        return infDao.queryForInf();
    }
}
